package com.hmall.mapper;

import com.hmall.model.XtxUserFocus;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface XtxUserFocusMapper extends MyMapper<XtxUserFocus> {
    XtxUserFocus selectByUserIdAndFocusUserId(@Param("userId") Integer userId,@Param("focusUserId") Integer focusUserId);

    Integer selectCountByUserId(@Param("userId") Integer userId);

    Integer selectFansCountByUserId(@Param("userId")Integer userId);
}